package com.furongji.education;

import com.furongji.education.clients.OrderFeignClient;
import com.furongji.education.clients.UserFeignClient;
import com.furongji.education.clients.VodFeignClient;
import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.furongji.education.mapper")
@ComponentScan(basePackages = {"com.furongji"})
@EnableDiscoveryClient
@EnableFeignClients(clients = {UserFeignClient.class})
public class CommentServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(CommentServiceApplication.class, args);
    }

}
